<?php die;?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>miceCMS,觅策企业网站管理系统</title>
<link href="css/default.css" rel="stylesheet" type="text/css">
<link href="css/table.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/table.js"></script>
<script type="text/javascript" src="js/selectall.js"></script>
</head>

<body>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
	<td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#BEBEBE" onmouseover="changeto()"  onmouseout="changeback()">
  <form action="<!--{$delete}-->" method="post" name="miceform" id="miceform">
  <tr align="center">
	<td width="3%" height="24" background="imgs/right-title-bg.gif"></td>
    <td width="3%" height="24" background="imgs/right-title-bg.gif"></td>
    <td width="39%" height="24" background="imgs/right-title-bg.gif">链接分类名称</td>
	<td width="10%" height="24" background="imgs/right-title-bg.gif">级别</td>
    <td width="10%" height="24" background="imgs/right-title-bg.gif">显示</td>
    <td width="20%" height="24" background="imgs/right-title-bg.gif">操作</td>
  </tr>
  <!--{foreach from=$results item=rs name=counter}-->
  <tr align="center">
	<td width="3%" class="tablecontent"><!--{$smarty.foreach.counter.iteration}--></td>
    <td width="3%" class="tablecontent"><input name="checkbox[<!--{$rs->getCategoryId()}-->]" id="checkbox[<!--{$rs->getCategoryId()}-->]" type="checkbox" value="<!--{$rs->getCategoryId()}-->" /></td>
    <td width="32%" class="tablecontent"><div align="left">&nbsp;&nbsp;<!--{$rs->getTitle()}--></div></td>
    <td width="6%" class="tablecontent"><!--{$rs->getDepth()}--></td>
    <td width="14%" class="tablecontent"><!--{if 0==$rs->getIsvisible()}-->显示<!--{/if}--><!--{if 1==$rs->getIsvisible()}-->隐藏<!--{/if}--></td>
    <td width="12%" class="tablecontent"><a href="<!--{$edit}--><!--{$rs->getCategoryId()}-->">编辑</a>|<a href="<!--{$delete}--><!--{$rs->getCategoryId()}-->" onclick="JavaScript:return confirm('确定删除吗?')">删除</a></td>
  </tr>
  <!--{/foreach}-->
</table>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
	<td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
	<tr > 
		<td bgcolor="#F9F9F9" height="30" valign='middle'>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr > 
					<td bgcolor="#F9F9F9" height="30" valign='middle' width='30%'>
						&nbsp;&nbsp;<input name='chkAll' type='checkbox' id='chkAll' onclick='CheckAll(this.form)' value='checkbox'>全选&nbsp;<input type="submit" value="删除[D]" accesskey="d"/>&nbsp;<input type="button" value="添加[C]" accesskey="c" onclick="javascript:window.location.href='<!--{$create}-->'" />
					</td>
					<td bgcolor="#F9F9F9" height="30" valign='middle' align='right' width='70%'>
						&nbsp;&nbsp;
					</td>
				</tr>
			</table>
		</td>
	</tr>
	</form>
</table>
<br>
</body>
</html>